.site-header .container {
    display: flex;
    justify-content: space-between;
    /* 要flex项目在容器里面居中 */
    align-items: center;
    height: 100px;
}

.site-header .logo {
    width: 56px;
    height: 56px;
    background: url("https://s02.mifile.cn/assets/static/image/logo-mi2.png") no-repeat center/cover;
}

/* 中间的导航 */
.site-header .header-nav {
    display: flex;
}


.site-header .header-nav li {
    padding: 0 10px;
    font-size: 16px;
}

.site-header .header-nav li a {
    color: #333333;
}

.site-header .header-nav li a:hover {
    color: #ff6700;
}

/* 搜索框 */
.site-header .header-search form {
    display: flex;
    width: 296px;
    height: 50px;
}

/* 输入框 */
.site-header .header-search form > input[name="keyword"] {
    width: 242px;
    height: 50px;
    border: 1px solid #e0e0e0;
    text-indent: 15px;
}


/* 按钮 */
.site-header .header-search form > input[type="submit"] {
    width: 54px;
    height: 50px;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
}


.site-header .header-search form > input[name="keyword"]:hover{
    border: 1px solid #b0b0b0;
}


.site-header .header-search form > input[name="keyword"]:hover ~ input[type="submit"] {
    border: 1px solid #b0b0b0;
}


.site-header .header-search form > input[name="keyword"]:focus {
    outline: none;
    border: 1px solid #ff6700;
}

.site-header .header-search form > input[name="keyword"]:focus ~ input[type="submit"]{
    border: 1px solid #ff6700;
}

.site-header .header-search form  > .search-details {
    display: none;
    position: absolute;
    z-index: 3;
    top: 50px;
    left: 0;
    width: 242px;
    border: 1px solid #ff6700;
    background-color: #fff;
}

.site-header .header-search form > input[name="keyword"]:focus ~ .search-details {
    display: block;
}

.site-header .header-search form  > .search-details > p{
    line-height: 35px;
    padding-left: 15px;
}


.site-header .header-search form  > .search-details > p:hover{
    background-color: #cccccc;
}

.site-header .header-search form > input[type="submit"]:hover {
    background-color: #ff6700;
}